package com.car.dao;

<<<<<<< HEAD
import java.sql.SQLException;
import java.util.List;

public interface DaoInterface<T> {
	
	public int insert(T t) throws SQLException;
	
	public int delete(int id) throws SQLException;
	
	public int update(T t) throws SQLException;
	
	public List<T> queryAll() throws SQLException;
	
	public T queryById(int id) throws SQLException;
=======
import java.util.List;

public interface DaoInterface<T> {
	
	public int insert(T t) throws Exception;
	
	public int delete(int id) throws Exception;
	
	public int update(T t) throws Exception;
	
	public List<T> queryAll() throws Exception;
	
	public T queryById(int id) throws Exception;
>>>>>>> branch 'master' of https://gitee.com/kangdg/car.git

}
